package hrms.dao;

import hrms.entity.Candidate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CandidateMapper {
    Candidate findById(Integer id);
    void insertCandidate(Candidate candidate);
    List<Candidate> findAll();
    void updateRecord(Candidate candidate);
    void updateStatus(Candidate candidate);
    void updateStatusByPhone(String phone);
}